#include <stdio.h>
int main(){
    float sum=0,height=100;
    for(int i=1;i<=10;i++){
        sum+=height;
        height=height/2;
        sum+=height;
    }
    sum-=height;
    printf("第10次落地时共经过%.6f米\n第10次反弹%.6f米",sum,height);
    return 0;
}